package com.rrm.dao;

import com.rrm.bean.AdminInfoBean;

import java.util.List;

public interface AdminInfoBeanMapper {

    /**
     * 查询所有的管理员信息
     * @return 查询结果集
     */
    List<AdminInfoBean> selectAllAdminInfo();

    // 动态查询
    List<AdminInfoBean> selectAdminInfoByParams(AdminInfoBean record);

    //    动态查询
    List<AdminInfoBean> selectAdminInfoByParamsWithOrder(AdminInfoBean record);

    int deleteByPrimaryKey(Integer adminid);

    int insert(AdminInfoBean record);

    int insertSelective(AdminInfoBean record);

    AdminInfoBean selectByPrimaryKey(Integer adminid);

    int updateByPrimaryKeySelective(AdminInfoBean record);

    int updateByPrimaryKey(AdminInfoBean record);
}